package com.manage.platform.dto;

import com.manage.platform.vo.TaskAchieveFileVo;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 成果审批表
 * </p>
 */
@Data
@Accessors(chain = true)
public class TaskAchieveDetailsDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 成果ID
     */
    @Schema(description = "成果ID,修改必传")
    private Long id;

    /**
     * 创建人ID
     */
    @Schema(description = "创建人ID",hidden = true)
    private Long userId;

    /**
     * 任务ID
     */
    @NotNull
    @Schema(description = "任务ID,必传")
    private Long taskId;

    /**
     * 成果名称
     */
    @Schema(description = "成果名称")
    private String name;


    //成果文件夹列表
    @Schema(description = "成果文件夹列表")
    private List<TaskAchieveFileDto> achieveFileVoList;


}
